package com.superme.freemarkerquickstart.controller.Data;

public class ResultData {
    private String message;
    private Boolean is_success;
    private Integer status;

    public String getErrormsg() {
        return errormsg;
    }

    public String getMessage() {
        return message;
    }

    public ResultData(String message, Boolean is_success, Integer status, String errormsg) {
        this.message = message;
        this.is_success = is_success;
        this.status = status;
        this.errormsg = errormsg;
    }

    public ResultData() {
        this.message = "";
        this.is_success = false;
        this.status = 0;
        this.errormsg = "执行失败！";
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Boolean getIs_success() {
        return is_success;
    }

    public void setIs_success(Boolean is_success) {
        this.is_success = is_success;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setErrormsg(String errormsg) {
        this.errormsg = errormsg;

    }

    private String errormsg;

}
